package com.zros.modules.business.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zros.modules.business.entity.Modle;
import com.zros.modules.business.entity.Shop;
import com.zros.modules.business.mapper.ModleMapper;
import com.zros.modules.business.mapper.ShopMapper;
import com.zros.modules.business.service.IModleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zros.modules.business.vo.ModleVo;
import com.zros.modules.business.vo.ShopVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author lvkai
 * @since 2020-04-21
 */
@Service
public class ModleServiceImpl extends ServiceImpl<ModleMapper, Modle> implements IModleService {

    @Autowired
    private ModleMapper modleMapper;

    @Override
    public Page<ModleVo> queryList(Page<ModleVo> page, Modle modle )
    {
        Page<ModleVo> pageModleVo = modleMapper.queryList(page, modle);
        return pageModleVo;
    }

}
